How to write interrupt program to switch to interupt routine when detect interupt signal 當(dāng)真測(cè)到中斷信號(hào),如何寫中斷程式切到中斷副程式中?
Software debug : use cv - 43 for check point display , can write value to it , no need to interrupt program execution 利用本卡當(dāng)作檢查點(diǎn)check point顯示卡,可寫write數(shù)值至本卡,不必停止程
Software debug : use cv - 48 for check point display , can write value to it , no need to interrupt program execution 利用本卡當(dāng)作檢查點(diǎn)check point顯示卡,可寫write數(shù)值至本卡,不必停止程
Software debug : use cv - 46 for check point display , can write value to it , no need to interrupt program execution 利用本卡當(dāng)作檢查點(diǎn)check point顯示卡,可寫write數(shù)值至本卡,不必停止程
The real time of the system was analyzed , and a time norm of 30us was found according to the experiment . in this norm the interrupt program can handle the emergency 最后對(duì)工業(yè)ct的實(shí)時(shí)性進(jìn)行了研究,并根據(jù)實(shí)驗(yàn)得到了30us的一個(gè)計(jì)時(shí)基準(zhǔn),在此期間驅(qū)動(dòng)程序能夠較好的處理中斷。
The system software uses typical up to down and modular designing methods . in this dissertation , the total frame of main program , the design of a / d sampling interrupt program , the design of can communication program and the processing of communication message are explained mainly 裝置的軟件設(shè)計(jì)遵循模塊化,自頂向下的設(shè)計(jì)思路,文中重點(diǎn)分析了主程序的總體框架結(jié)構(gòu), a / d采樣中斷程序的設(shè)計(jì)、 can通信程序的設(shè)計(jì)和通信報(bào)文的處理思路。
The article mainly narrates the system in two parts . firstly , it describes the hardware including the sensor , collecting and processing circuit , and the display circuit . secondly , it presents the system " s software composed of the main program , the second interrupt program , and the communication interrupt program , and discuss the status of ram 在本文中,主要從兩個(gè)方面對(duì)冰厚測(cè)報(bào)儀系統(tǒng)進(jìn)行了介紹,首先介紹了系統(tǒng)的硬件(傳感器、采集處理儀、面板顯示電路) ,然后介紹了系統(tǒng)的軟件情況:包括主程序、秒中斷程序、通信中斷程序,這其中還對(duì)8031中的內(nèi)存使用情況進(jìn)行了介紹。